package com.yu.subject.common.exception;

import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author 路亚
 * @version 0.1
 * @className JavasmException
 * @description
 * @date 2024/12/23 20:23
 * @since jdk11
 */
@Data
@NoArgsConstructor
public class JavaSmException extends RuntimeException {

    private CodeAndMessage codeAndMessage;

    public JavaSmException(CodeAndMessage codeAndMessage) {
        this.codeAndMessage = codeAndMessage;
    }
}
